package com.jiangjiang.eshop.schedule.convert;

import com.jiangjiang.eshop.schedule.domain.ScheduleGoodsAllocationStockDetail;
import com.jiangjiang.eshop.wms.dto.GoodsAllocationStockDetailDTO;
import org.mapstruct.Mapper;

import java.util.Collection;
import java.util.List;

@Mapper(componentModel = "spring")
public interface ScheduleGoodsAllocationStockDetailConvert {

    Collection<ScheduleGoodsAllocationStockDetail> convertDTO2Entities(List<GoodsAllocationStockDetailDTO> stockDetails);
}
